package com.zb.kc.ucenter.service;

import com.zb.kc.ucenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.kc.ucenter.entity.vo.LoginVo;
import com.zb.kc.ucenter.entity.vo.RegisterVo;

import java.util.Map;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author wanggen
 * @since 2020-04-20
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String login(LoginVo member);

    void register(RegisterVo registerVo);

    LoginVo getLoginInfo(String memberId);

    UcenterMember getByOpenid(String openid);

    Map<String, Object> getUserLessInfo(String id);

    Integer countRegisterDay(String day);
}
